package models

import org.joda.time.DateTime

case class Jurisdiction(
                         juriCode: String,
                         juriName: String,
                         juriPath: String,
                         juriParentId: Option[Int],
                         joinTime: Option[DateTime],
                         isDeleted: Boolean = false,
                         id: Option[Int] = None,
                         updateTime: Option[DateTime] = None
                       ) extends BaseModel {

}

case class JurisdictionQuery(
                              juriCode: Option[String] = None,
                              juriName: Option[String] = None,
                              juriPath: Option[String] = None,
                              juriParentId: Option[Int] = None,
                              joinTime: Option[DateTime] = None,
                              isDeleted: Option[String] = None,
                              id: Option[Int] = None,
                              updateTime: Option[DateTime] = None,
                              page:Option[Int]=None,
                              pageSize:Option[Int]=None,
                              sort:Option[String]=None,
                              dir:Option[String]=None
                            )

